package com.yunyi.model.mappers.work;

import com.yunyi.model.work.WorkerTime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @ClassName WorkTimeMapper
 * @Description 员工班次信息Mapper
 * @Author leizhang
 * Date 2021/8/17 1:05 下午
 * @Version 1.0
 **/
@Mapper
public interface WorkTimeMapper {
    /**
     * @Description : 员工班次信息保存
     * @Author : leizhang
     * @Date 1:08 下午 2021/8/17
     * @param requestParam
     * @return void
     **/
    void saveWorkTimeInfo(@Param("requestParam")Map<String,Object> requestParam);

    /**
     * @Description : 员工班次时间更新
     * @Author : leizhang
     * @Date 2:04 下午 2021/8/17
     * @param requestParam
     * @return void
     **/
    void updateWorkerTimeInfo(@Param("requestParam")Map<String,Object> requestParam);

    /**修改自身状态**/
    void updateWorkerTime(@Param("requestParam")Map<String,Object> requestParam);

    /**
     * @Description : 员工班次信息获取
     * @Author : leizhang
     * @Date 3:16 下午 2021/8/17
     * @param requestParam
     * @return com.yunyi.model.work.WorkerTime
     **/
    WorkerTime getWorkerTimeInfo(@Param("requestParam")Map<String,Object> requestParam);

    int selectTimeId(@Param("requestParam")Map<String,Object> requestParam);
    /**
     * @Description : 员工班次时间更新By appId
     * @Author : leizhang
     * @Date 2:04 下午 2021/8/17
     * @param requestParam
     * @return void
     **/
    void updateWorkerTimeInfoByAppId(@Param("requestParam")Map<String,Object> requestParam);
}
